package com.pubinfo.passbook.api.controller.contract;

import com.pubinfo.passbook.common.enums.OrgIdEnum;
import com.pubinfo.passbook.common.model.vo.base.JsonResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
@Api(tags = "QGPB-合同区域")
@RequestMapping(value = "contractOrg")
public class ContractOrgController {

    @GetMapping
    @ApiOperation(value = "查询合同区域")
    public JsonResult list() {
        return JsonResult.success(OrgIdEnum.getEnumList());
    }

}
